package net.zjitc.object.shape;

/**
 * @Author admin
 * @Date 2019/3/20 9:07
 */
public class Circle extends Shape{
    Circle(){
    }
    Circle(String name){
        this.name=name;
    }
    @Override
    public void print() {
        System.out.println(name+"，面积是PI*r*r");
    }
}
